{% extends 'base.html' %}
{% load static %}
{% load i18n %}
{% block title %}{% translate '数据统计列表' %}{% endblock %}

{% block head %}

{% endblock %}



{% block content %}
    <table class="table">
        <thead>
        <tr>
            {#            <th scope="col">#</th>#}
            <th scope="col">备份桶</th>
            <th scope="col">已备份文件数</th>
            <th scope="col">文件总数</th>
            <th scope="col">统计</th>
        </tr>
        </thead>
        <tbody>
        {% for key, value in query_dict.items %}
            <tr>
                {#      <th scope="row">1</th>#}
                <td>{{ key }}</td>
                <td>{{ value.0.count }}</td>
                <td>{{ value.1.count }}</td>
                <td width="300px"><a href="{% url 'sync_web:sync_web_file_statisics' value.2 'month' %}"
                                     class="btn btn-primary">月</a> |
                    <a href="{% url 'sync_web:sync_web_file_statisics' value.2 'week' %}" class="btn btn-primary">周</a>
                    |
                    <a href="{% url 'sync_web:sync_web_file_statisics' value.2 'day' %}" class="btn btn-primary">天</a>
                </td>
            </tr>

        {% endfor %}

        </tbody>
    </table>

{#     {% include 'num-pagination.html' %}#}
{% endblock %}

{% block script %}


{% endblock %}